{extend name="layout" /}

{block name="page-header"}{/block}

{block name="content"}
    {notempty name="default_pass"}
    <div class="alert alert-danger alert-dismissable">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
        <h3 class="font-w300 push-15">安全提示</h3>
        <p>超级管理员默认密码未修改，建议马上 <a class="alert-link link-effect" href="{:url('user/index/edit', ['id' => 1])}">修改</a>。</p>
    </div>
    {/notempty}
	<div class="row push-15">
	</div>
    {// 后台首页钩子}
    <div class="row">
        <div class="col-md-{$width|default=6}">
            <div class="block block-bordered">
                <div class="block-header bg-gray-lighter">
                    <h3 class="block-title">产品团队</h3>
                </div>
                <div class="block-content">
                    <table class="table">
                        <tbody>
                        <tr>
                            <td>产品名称</td>
                            <td>智众云</td>
                        </tr>
                        <tr>
                            <td>产品设计及研发团队</td>
                            <td><a href="https://www.zzmind.com" target="_blank">{:config('system.develop_team')}</a</td>
                        </tr>
                        <tr>
                            <td>开发手册</td>
                            <td><a href="https://www.kancloud.cn/manual/thinkphp6_0/1037479" target="_blank">www.kancloud.cn</a></td>
                        </tr>
                        <tr>
                            <td>公司地址</td>
                            <td>河南省郑州市金水区农业路东16号</td>
                        </tr>
        				<tr>
        				    <td>联系电话</td>
        				    <td><a href="tel:0371-86602682" target="_blank">0371-86602682</a></td>
        				</tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="col-md-{$width|default=6}">
            <div class="block block-bordered">
                <div class="block-header bg-gray-lighter">
                    <h3 class="block-title">系统信息</h3>
                </div>
                <div class="block-content">
                    <table class="table">
                        <tbody>
                        <tr>
                            <td>云平台版本</td>
                            <td id="product-update">{:config('system.product_version')}</td>
                        </tr>
                        <tr>
                            <td>服务器操作系统</td>
                            <td>{$Think.const.PHP_OS}</td>
                        </tr>
                        <tr>
                            <td>系统时间</td>
                            <td>{$Request.server.REQUEST_TIME|format_time}</td>
                        </tr>
                        <tr>
                            <td>PHP版本</td>
                            <td>{$Think.const.PHP_VERSION}</td>
                        </tr>
                        <tr>
                            <td>上传限制</td>
                            <td>{:ini_get('upload_max_filesize')}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
{/block}

{block name="script"}
<script src="__ADMIN_JS__/core/jquery.countTo.min.js"></script>
<script>
    jQuery(function () {
        App.initHelpers(['appear-countTo']);
    });
</script>
{/block}